package com.mybatis.entity;

import java.time.LocalDate;


/*
学生表表展示页面对应的实体类
* */
public class StudentVO {
    private String sno;
    private String sname;
    private String sex;
    private String nation;
    private Integer age;
    private LocalDate birthday;
    private String cname;
    private String mname;
    private String dname;

    private Integer page;
    //private String cid;

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }
    //private String mno;
    //private String dno;


    @Override
    public String toString() {
        return "StudentVO{" +
                "sno='" + sno + '\'' +
                ", sname='" + sname + '\'' +
                ", sex='" + sex + '\'' +
                ", nation='" + nation + '\'' +
                ", age=" + age +
                ", birthday=" + birthday +
                ", cname='" + cname + '\'' +
                ", mname='" + mname + '\'' +
                ", dname='" + dname + '\'' +
                ", page=" + page +
                '}';
    }

    public StudentVO() {
    }

    public StudentVO(String sno, String sname, String sex, String nation, Integer age, LocalDate birthday, String cname, String mname, String dname, Integer page) {
        this.sno = sno;
        this.sname = sname;
        this.sex = sex;
        this.nation = nation;
        this.age = age;
        this.birthday = birthday;
        this.cname = cname;
        this.mname = mname;
        this.dname = dname;
        this.page = page;
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public LocalDate getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public String getMname() {
        return mname;
    }

    public void setMname(String mname) {
        this.mname = mname;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }
}
